const router=require('koa-router')();

router.get('/',async (ctx,next)=>{
    console.log('home session:',ctx.session);

    await ctx.render('home',{
        name:'Home!!',
        koa2User:ctx.session.koa2User
    });
});

module.exports=router;

